package com.nifostasky.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 系统用户Token(SysUserToken)表实体类
 *
 * @author makejava
 * @since 2022-03-18 14:14:27
 */
@Data
@TableName(value = "sys_user_token")
public class SysUserToken implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;


    /**
    *token
    */
    @TableField(value = "token")
    private String token;

    /**
    *过期时间
    */
    @TableField(value = "expire_time")
    private Date expireTime;

    /**
    *更新时间
    */
    @TableField(value = "update_time")
    private Date updateTime;

}
